Skip to content

docs(csrf): use ActionResponse helper in SPA fetch example#484

Merged
evantahler merged 1 commit into
mainfrom
claude/update-csrf-docs-dBx9m
Apr 30, 2026
Merged

docs(csrf): use ActionResponse helper in SPA fetch example#484
evantahler merged 1 commit into
mainfrom
claude/update-csrf-docs-dBx9m

Conversation

@evantahler

Copy link
Copy Markdown
Member

Cast the /csrf-token response through ActionResponse
so the token field is typed at the call site, matching the pattern
documented in the Typed Clients guide.

Cast the /csrf-token response through ActionResponse<CsrfTokenAction>
so the token field is typed at the call site, matching the pattern
documented in the Typed Clients guide.
@evantahler evantahler enabled auto-merge (squash) April 30, 2026 04:54
@evantahler evantahler merged commit b4e306b into main Apr 30, 2026
15 checks passed
@evantahler evantahler deleted the claude/update-csrf-docs-dBx9m branch April 30, 2026 04:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants